package com.mask.entity;

public class AccountEntity {
    private Integer id;

    private String name;

    private Double money;

    private String cardNumbers;

    private Integer status;

    public AccountEntity() {
    }

    public AccountEntity(Integer id, String name, Double money, String cardNumbers, Integer status) {
        this.id = id;
        this.name = name;
        this.money = money;
        this.cardNumbers = cardNumbers;
        this.status = status;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public String getCardNumbers() {
        return cardNumbers;
    }

    public void setCardNumbers(String cardNumbers) {
        this.cardNumbers = cardNumbers == null ? null : cardNumbers.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "AccountEntity{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", money=" + money +
                ", cardNumbers='" + cardNumbers + '\'' +
                ", status=" + status +
                '}';
    }
}